package com.xiehao.springbootmybaits.service;

import com.xiehao.springbootmybaits.dao.ClassInfoMapper;
import com.xiehao.springbootmybaits.dao.StudentMapper;
import com.xiehao.springbootmybaits.entity.ClassInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ClassInfoService {

    @Autowired
    ClassInfoMapper classInfoMapper;

    public ClassInfo getClassInfo(Integer classno) {
        return classInfoMapper.getClass(classno);
    }
}
